<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>
		</title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
		<!-- Loading Bootstrap -->
		<link href="Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
		<!-- Loading Flat UI -->
		<link href="Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
		<link href="Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
		<link rel="shortcut icon" href="Public/Admin/Flat/img/favicon.ico">
		<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
		<!--[if lt IE 9]>
		<script src="dist/js/vendor/html5shiv.js"></script>
		<script src="dist/js/vendor/respond.min.js"></script>
		<![endif]-->
	</head>
	<body>
		<form action="" method="post">
			<div class="alert alert-success">
				添加属性
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">属性名称</label>
				<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入属性名称" required="" name="naname" value="{{$oldData['naname']}}">
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">属性类型</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				{{if value="$oldData['natype']==0"}}
				<input id="exampleInputEmail1"  type="radio" name="natype" value="0">属性
				<input id="exampleInputEmail1" type="radio" name="natype" value="1">规格
				{{else}}
				<input id="exampleInputEmail1"  type="radio" name="natype" value="0">属性
				<input id="exampleInputEmail1" type="radio" name="natype" value="1">规格
				{{endif}}
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">属性值</label>
				<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入属性值 并以|隔开来添加多个" value="{{$oldData['nazhi']}}" name="nazhi">
			</div>
			<input type="hidden" name="nid" value="{{$oldData['nid']}}"/>
			<input type="hidden" name="type_tid" value="{{$oldData['type_tid']}}"/>
			<button class="btn btn-primary btn-block" type="submit">
				确定
			</button>
		</form>
	</body>
</html>
